<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserProfile.aspx.cs" Inherits="RMTMenu" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>User Profile</title>
</head>
<body>
    <form id="form1" runat="server">
    <!-- Change RMT information -->
    <div>
        <!-- Change RMT's name -->
        <table style="width: 329px" border="1" bordercolor="#000099" cellpadding="0" cellspacing="0" bgcolor="lavender">
            <tr>
                <td colspan="2" bgcolor="royalblue" bordercolor="#ffffff" style="height: 21px">
                <asp:Label ID="lblName" runat="server" Font-Bold="True"
                        Font-Names="Arial" Font-Size=Small ForeColor="White"></asp:Label>
                </td>
                <td bgcolor="royalblue" bordercolor="#ffffff" colspan="1" style="width: 68px; height: 21px">
                    <asp:Button ID="btnLogOut" runat="server" OnClick="btnLogOut_Click" Text="Logout"
                        Width="61px" /></td>
            </tr>
            <tr>
                <td style="width: 140px; height: 19px;" align="right" bordercolor="#ffffff">
                    <strong>
                Name: </strong>&nbsp;</td>
                <td style="width: 8px; height: 19px;" align="right" bordercolor="#ffffff">
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                </td>
                <td style="width: 68px; height: 19px;" bordercolor="#ffffff">
                <asp:Button ID="txtSave" runat="server" Text="Update" OnClick="txtSave_Click" />
                </td>
            </tr>
            <tr>
                <td align="right" bordercolor="#ffffff" style="width: 140px; height: 19px">
        <asp:Label ID="lblNewTherapy" runat="server" Text="Add a New Therapy: " Width="139px" Visible="False" Font-Bold="True"></asp:Label></td>
                <td align="right" bordercolor="#ffffff" style="width: 8px; height: 19px">
                    <asp:TextBox
            ID="txtNewTherapy" runat="server" Visible="False"></asp:TextBox></td>
                <td bordercolor="#ffffff" style="width: 68px; height: 19px">
        <asp:Button ID="btnNewTherapy" runat="server" OnClick="btnNewTherapy_Click" Text="Add" Visible="False" Width="61px" /></td>
            </tr>
        </table>
        </div>
     <!-- Add new therapy -->
    <div>
        <table border="1" bordercolor="#000099" cellpadding="0" cellspacing="0" style="width: 100%;" align="right" bgcolor="lavender">
            <tr>
                <td align="right" bgcolor="royalblue" bordercolor="#ffffff">
                    <asp:Label ID="lblChooseRoom" runat="server" Font-Bold="True" ForeColor="White" Text="Please choose a room:"></asp:Label>
                    &nbsp;<asp:DropDownList ID="dlstRoom" runat="server" Width="96px">
                        <asp:ListItem>North</asp:ListItem>
                        <asp:ListItem>South</asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td bgcolor="royalblue" align="left" bordercolor="#ffffff" colspan="3" rowspan="">
        <asp:Button ID="btnRoomSched" runat="server" OnClick="btnRoomSched_Click" Text="View Room Schedule"
            Width="140px" Height="24px" />
                    <asp:Button ID="btnBookAppointment" runat="server" OnClick="btnBookAppointment_Click"
                        Text="Book Appointment" Visible="False" Width="130px" /></td>
            </tr>
            <tr>
                <td colspan="4" bordercolor="#ffffff">
        <asp:Table ID="workSched" runat="server" Width="100%" BorderWidth="1px" CellPadding="0" CellSpacing="0" GridLines="Both" Visible="False">
        </asp:Table>
                </td>
            </tr>
            <tr>
                <td bordercolor="#ffffff" colspan="4">
                </td>
            </tr>
            <tr>
                <td align="left" bordercolor="#ffffff" valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblChooseRMT" runat="server" Text="Please Choose an RMT:  " Visible="False"
                                    Width="174px" Font-Bold="True"></asp:Label>&nbsp;</td>
                            <td colspan="3" style="height: 21px">
                                <asp:DropDownList ID="dlstRMT" runat="server" OnSelectedIndexChanged="dlstRMT_SelectedIndexChanged"
                                    Visible="False">
                                </asp:DropDownList>
                                <asp:Button ID="btnViewTherPriceList" runat="server" OnClick="btnViewTherPriceList_Click"
                                    Text="View Therapy Price List" Visible="False" /></td>
                        </tr>
                        <tr>
                            <td align="right">
                                &nbsp;<asp:Label ID="lblChooseTherapy" runat="server" Text="Please choose a Therapy:" Font-Bold="True" Visible="False"></asp:Label>&nbsp;</td>
                            <td colspan="3" style="height: 21px">
                                <asp:DropDownList ID="dlstTherapies" runat="server" Visible="False">
        </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblDuration" runat="server" Text="Duration:" Visible="False" Font-Bold="True"></asp:Label>
        <asp:TextBox ID="txtDuration" runat="server" Width="50px" Visible="False"></asp:TextBox>
                            </td>
                            <td>
                                <asp:Label ID="lblPrice" runat="server" Text="Price: " Visible="False" Font-Bold="True"></asp:Label>
        <asp:TextBox ID="txtPrice" runat="server" Width="50px" Visible="False"></asp:TextBox>&nbsp;</td>
                            <td>
                                &nbsp;
                                <asp:Button ID="btnAddTherapyPrice" runat="server" Text="Add Therapy Price" OnClick="btnAddTherapyPrice_Click" Visible="False" />&nbsp;
                            </td>
                            <td style="width: 72px">
                    <asp:Button ID="btnRemoveTherapyPrice" runat="server" Text="Remove" OnClick="btnRemoveTherapyPrice_Click" Height="24px" Visible="False" /></td>
                        </tr>
                        <tr>
                            <td colspan="4" style="height: 42px">
                    <asp:Table ID="tblTherapyPrice" runat="server" BorderWidth="1px" CellPadding="0"
                        CellSpacing="0" GridLines="Horizontal" Width="100%" Visible="False" BorderColor="DarkGray" >
                    </asp:Table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td align="left" bordercolor="#ffffff" valign="top">
                    <table width="100%">
                        <tr>
                            <td colspan="2">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Table ID="tblAppointments" runat="server" Font-Size="Smaller" Visible="False">
                                </asp:Table>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Calendar ID="calRMTSched" runat="server" BackColor="White" BorderColor="Black"
                                    BorderStyle="Solid" CellSpacing="1" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black"
                                    Height="200px" NextPrevFormat="ShortMonth" OnSelectionChanged="calRMTSched_SelectionChanged"
                                    Width="283px" Visible="False">
                                    <SelectedDayStyle BackColor="#333399" ForeColor="White" />
                                    <TodayDayStyle BackColor="#999999" ForeColor="White" />
                                    <OtherMonthDayStyle ForeColor="#999999" />
                                    <DayStyle BackColor="#CCCCCC" />
                                    <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="White" />
                                    <DayHeaderStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" Height="8pt" />
                                    <TitleStyle BackColor="#333399" BorderStyle="Solid" Font-Bold="True" Font-Size="12pt"
                                        ForeColor="White" Height="12pt" />
                                </asp:Calendar>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblRmtID" runat="server" Text="RMT ID:" Visible="False"></asp:Label></td>
                            <td>
                                <asp:DropDownList ID="dlstRMTID" runat="server" OnSelectedIndexChanged="dlstRMT_SelectedIndexChanged"
                                    Visible="False">
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblStartTime" runat="server" Text="Start Time:" Visible="False" Width="68px"></asp:Label></td>
                            <td>
                                <asp:DropDownList ID="dlstStartHour" runat="server" Visible="False" Width="40px">
                                </asp:DropDownList>
                                <asp:DropDownList ID="dlstStartMin" runat="server" Visible="False" Width="40px">
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblEndTime" runat="server" Text="End Time:" Visible="False"></asp:Label></td>
                            <td>
                                <asp:DropDownList ID="dlstEndHour" runat="server" Visible="False" Width="40px">
                                </asp:DropDownList>
                                <asp:DropDownList ID="dlstEndMin" runat="server" Visible="False" Width="40px">
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblRMTRoom" runat="server" Text="Room:" Visible="False"></asp:Label></td>
                            <td>
                                <asp:DropDownList ID="dlstRMTSchedRoom" runat="server" Visible="False">
                                    <asp:ListItem>North</asp:ListItem>
                                    <asp:ListItem>South</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblFailed" runat="server" ForeColor="Red" Text="Failed!" Visible="False"
                                    Width="43px"></asp:Label></td>
                            <td>
                                <asp:Button ID="btnAddRMTSched" runat="server" OnClick="btnAddRMTSched_Click" Text="Add RMT Schedule"
                                    Visible="False" Width="149px" /></td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblSuccess" runat="server" ForeColor="ForestGreen" Text="Successful!"
                                    Visible="False" Width="43px"></asp:Label></td>
                            <td>
                                <asp:Button ID="btnRemoveRMTSched" runat="server" OnClick="btnRemoveRMTSched_Click" Text="Remove RMT Schedule"
                                    Visible="False" Width="149px" /></td>
                        </tr>
                    </table>
                    </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
